custom/doc
(Notes on custom signal mode)

E1432 SOURCE CUSTOM SIGNAL MODE DEVELOPMENT ENVIRONMENT

PURPOSE:
	Provide a way to develop and control custom signal modes
	on the source board.

OVERVIEW:
	Source code is assembled on a PC.
	Transferred to HP-UX VXI controller (your method).
	In HP-UX, code is converted and downloaded to RAM (P space) on
          source board over VXI.  (Or the .LOD file can be loaded to the
          source RAM over the ONCE Port from PC using Mot ADS.)
	The ADS system, connected to the source 56002 ONCE port, is used to
	examine memory, set breakpoints, step thru program in the 56002 on
        the source board.


ENVIRONMENT:

IBM compatible PC, AT BUS (IDE), 80386 or greater, * megs extended memory,
	... (see Motorola software for requirements)
	* DOS

From Motorola:
	* Motorola 56002 assembler, linker etc.
		DSP56000CLASx for PC (DOS).
	* Motorola DSP Application Development System (ADS)
		DSP56002ADSx  	software for PC
				ADS IBM-PC (ISA) interface card
				Interface to Command Converter cable
				ADS Command Converter card
				Command Converter to ONCE port cable
				DONOT NEED 56000 EMULATOR BOARD

From Mortice Kern Systems Inc:
	* MKS toolkit (shell and make facility)

From HP-LSD:
	* adapter for ONCE port connector, if needed
	* diagram indicating location of DSP Busy pin on source
	    daughterboard (daughterboard only) and location of trigger
            line on backplane
	* source card software development tools
	    * source code template for custom mode
	    * makefile, and include files
	    * command scripts for ADS system, as needed
	    * a means to download custom signal mode via vxi
	    * Version independent signal mode overlay template with
	   	include file defining external entry points used
           	(rather than relinking and re-programming the FLASH)
	* example c program that shows (via e1432 library procedures) how to:
	    * download custom signal mode, over vxi
	    * execute downloaded custom signal mode
	    * save custom signal mode into flash rom
	    * execute custom signal mode from flash rom
            * erase custom signal mode from flash rom

*****************************************************************


56002 ASSEMBLER CODE TEMPLATE FEATURES:

	* Responds to the same commands and parameters as arb mode
	  (span, amplitude, etc.).

	* Baseband signal generation with upsampling 
	  (interpolating) digital filters.

	* Structured to allow a background routine.

	* Hardware random number generator is available.
		
	* Assembles version independent absolute code with all
	  external references satisfied.

	* Can be loaded via PC based Mot ADS system for development
	  and trouble shooting.

	* Can be downloaded via host library calls.

	* Block of data can be written to memory for custom use
	  such as custom comands and parameter, data blocks,
	  etc.. The transfers are done as small blocks during time
	  slices to allow for transfers that donot cause signal
	  generation to fall out of real time.

	* Loads and runs in internal and external contiguous
	  P space from $68 thru $0FFF, (3992words).

	* Internal and external X and Y space is available for
	  use. This includes the external space that in arb mode
	  would be otherwise be used by the two (X,Y) 40000 word
	  buffers.  See srcusr.asm for memory usage.

Difference between srcusr.asm and arbmode code :

	To make the signal mode, version independent absolute code, the
	modified .asm version of the .c command interpreter is attached at 
	"/* derived from: arbbb2m.c.ux".  Also a jump table was
	added to the main 56k ROM code (version 961202) and is referenced
	by exttbl_.h to resolve external routines used in srcusr.asm.

	WARNINGS regarding incorrect memory space are to be ignored.
	These are due to addressing the X: space part of a long variable,
	using the Y: space label.

Revisions needed:

	* arb source rom firmware dated 961202 or later.

	* host library and down loadable dated 961202 or later.

###

